<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 厨房灾难</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #fff5e6;
            font-family: 'Comic Sans MS', cursive, sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
        }
        .kitchen {
            background-color: white;
            border: 5px dashed #ff9966;
            border-radius: 15px;
            padding: 30px;
            max-width: 600px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .kitchen:before {
            content: "";
            position: absolute;
            top: -15px;
            left: -15px;
            right: -15px;
            bottom: -15px;
            border: 2px dashed #ff9966;
            border-radius: 20px;
            pointer-events: none;
            z-index: -1;
        }
        h1 {
            color: #ff5e62;
            font-size: 3rem;
            margin-bottom: 20px;
        }
        .chef {
            width: 120px;
            height: 120px;
            margin: 20px auto;
            animation: wobble 2s infinite;
        }
        .mess {
            background-color: #fff0f0;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
            border: 1px solid #ffcccc;
        }
        .btn {
            display: inline-block;
            padding: 12px 24px;
            background: linear-gradient(to right, #ff9966, #ff5e62);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s;
        }
        .btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 94, 98, 0.3);
        }
        .food-item {
            position: absolute;
            font-size: 2rem;
            animation: fall 10s linear infinite;
            z-index: -1;
        }
        @keyframes wobble {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(5deg); }
            75% { transform: rotate(-5deg); }
        }
        @keyframes fall {
            0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
            100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
        }
    </style>
</head>
<body>
    <div class="kitchen">
        <h1>404 - 厨房灾难</h1>
        <img src="https://cdn-icons-png.flaticon.com/512/2936/2936886.png" alt="Chef" class="chef">
        
        <div class="mess">
            <p>糟糕！厨师把页面煮糊了！</p>
            <p>我们找不到你要的"菜"，但厨房里还有其他美味选择...</p>
        </div>
        
        <a href="/" class="btn">返回菜单（主页）</a>
        <a href="javascript:history.back()" class="btn">尝尝上一道菜</a>
    </div>

    <script>
        // 创建下落的食物元素
        const foods = ['🍕', '🍔', '🌭', '🍟', '🍦', '🍩', '🍪', '🥨'];
        for (let i = 0; i < 15; i++) {
            const food = document.createElement('div');
            food.className = 'food-item';
            food.textContent = foods[Math.floor(Math.random() * foods.length)];
            food.style.left = `${Math.random() * 100}vw`;
            food.style.animationDuration = `${Math.random() * 5 + 5}s`;
            food.style.animationDelay = `${Math.random() * 5}s`;
            document.body.appendChild(food);
        }
    </script>
</body>
</html>